3.1.5 \(\int (d-c^2 d x^2) (a+b \text {ArcSin}(c x)) \, dx\) [5]

Optimal. Leaf size=77 \[ \frac {2 b d \sqrt {1-c^2 x^2}}{3 c}+\frac {b d \left (1-c^2 x^2\right )^{3/2}}{9 c}+d x (a+b \text {ArcSin}(c x))-\frac {1}{3} c^2 d x^3 (a+b \text {ArcSin}(c x)) \]

[Out]

1/9*b*d*(-c^2*x^2+1)^(3/2)/c+d*x*(a+b*arcsin(c*x))-1/3*c^2*d*x^3*(a+b*arcsin(c*x))+2/3*b*d*(-c^2*x^2+1)^(1/2)/
c

________________________________________________________________________________________

Rubi [A]
time = 0.04, antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4739, 12, 455, 45} \begin {gather*} -\frac {1}{3} c^2 d x^3 (a+b \text {ArcSin}(c x))+d x (a+b \text {ArcSin}(c x))+\frac {b d \left (1-c^2 x^2\right )^{3/2}}{9 c}+\frac {2 b d \sqrt {1-c^2 x^2}}{3 c} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(d - c^2*d*x^2)*(a + b*ArcSin[c*x]),x]

[Out]

(2*b*d*Sqrt[1 - c^2*x^2])/(3*c) + (b*d*(1 - c^2*x^2)^(3/2))/(9*c) + d*x*(a + b*ArcSin[c*x]) - (c^2*d*x^3*(a +
b*ArcSin[c*x]))/3

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 455

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Dist[1/n, Subst[Int
[(a + b*x)^p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] && NeQ[b*c - a*d, 0] && EqQ[m
- n + 1, 0]

Rule 4739

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> With[{u = IntHide[(d + e*x^2)
^p, x]}, Dist[a + b*ArcSin[c*x], u, x] - Dist[b*c, Int[SimplifyIntegrand[u/Sqrt[1 - c^2*x^2], x], x], x]] /; F
reeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && IGtQ[p, 0]

Rubi steps

\begin {align*} \int \left (d-c^2 d x^2\right ) \left (a+b \sin ^{-1}(c x)\right ) \, dx &=d x \left (a+b \sin ^{-1}(c x)\right )-\frac {1}{3} c^2 d x^3 \left (a+b \sin ^{-1}(c x)\right )-(b c) \int \frac {d x \left (1-\frac {c^2 x^2}{3}\right )}{\sqrt {1-c^2 x^2}} \, dx\\ &=d x \left (a+b \sin ^{-1}(c x)\right )-\frac {1}{3} c^2 d x^3 \left (a+b \sin ^{-1}(c x)\right )-(b c d) \int \frac {x \left (1-\frac {c^2 x^2}{3}\right )}{\sqrt {1-c^2 x^2}} \, dx\\ &=d x \left (a+b \sin ^{-1}(c x)\right )-\frac {1}{3} c^2 d x^3 \left (a+b \sin ^{-1}(c x)\right )-\frac {1}{2} (b c d) \text {Subst}\left (\int \frac {1-\frac {c^2 x}{3}}{\sqrt {1-c^2 x}} \, dx,x,x^2\right )\\ &=d x \left (a+b \sin ^{-1}(c x)\right )-\frac {1}{3} c^2 d x^3 \left (a+b \sin ^{-1}(c x)\right )-\frac {1}{2} (b c d) \text {Subst}\left (\int \left (\frac {2}{3 \sqrt {1-c^2 x}}+\frac {1}{3} \sqrt {1-c^2 x}\right ) \, dx,x,x^2\right )\\ &=\frac {2 b d \sqrt {1-c^2 x^2}}{3 c}+\frac {b d \left (1-c^2 x^2\right )^{3/2}}{9 c}+d x \left (a+b \sin ^{-1}(c x)\right )-\frac {1}{3} c^2 d x^3 \left (a+b \sin ^{-1}(c x)\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.06, size = 88, normalized size = 1.14 \begin {gather*} a d x-\frac {1}{3} a c^2 d x^3+\frac {7 b d \sqrt {1-c^2 x^2}}{9 c}-\frac {1}{9} b c d x^2 \sqrt {1-c^2 x^2}+b d x \text {ArcSin}(c x)-\frac {1}{3} b c^2 d x^3 \text {ArcSin}(c x) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(d - c^2*d*x^2)*(a + b*ArcSin[c*x]),x]

[Out]

a*d*x - (a*c^2*d*x^3)/3 + (7*b*d*Sqrt[1 - c^2*x^2])/(9*c) - (b*c*d*x^2*Sqrt[1 - c^2*x^2])/9 + b*d*x*ArcSin[c*x
] - (b*c^2*d*x^3*ArcSin[c*x])/3

________________________________________________________________________________________

Maple [A]
time = 0.00, size = 82, normalized size = 1.06

method result size
derivativedivides \(\frac {-d a \left (\frac {1}{3} c^{3} x^{3}-c x \right )-d b \left (\frac {c^{3} x^{3} \arcsin \left (c x \right )}{3}-c x \arcsin \left (c x \right )+\frac {c^{2} x^{2} \sqrt {-c^{2} x^{2}+1}}{9}-\frac {7 \sqrt {-c^{2} x^{2}+1}}{9}\right )}{c}\) \(82\)
default \(\frac {-d a \left (\frac {1}{3} c^{3} x^{3}-c x \right )-d b \left (\frac {c^{3} x^{3} \arcsin \left (c x \right )}{3}-c x \arcsin \left (c x \right )+\frac {c^{2} x^{2} \sqrt {-c^{2} x^{2}+1}}{9}-\frac {7 \sqrt {-c^{2} x^{2}+1}}{9}\right )}{c}\) \(82\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-c^2*d*x^2+d)*(a+b*arcsin(c*x)),x,method=_RETURNVERBOSE)

[Out]

1/c*(-d*a*(1/3*c^3*x^3-c*x)-d*b*(1/3*c^3*x^3*arcsin(c*x)-c*x*arcsin(c*x)+1/9*c^2*x^2*(-c^2*x^2+1)^(1/2)-7/9*(-
c^2*x^2+1)^(1/2)))

________________________________________________________________________________________

Maxima [A]
time = 0.49, size = 97, normalized size = 1.26 \begin {gather*} -\frac {1}{3} \, a c^{2} d x^{3} - \frac {1}{9} \, {\left (3 \, x^{3} \arcsin \left (c x\right ) + c {\left (\frac {\sqrt {-c^{2} x^{2} + 1} x^{2}}{c^{2}} + \frac {2 \, \sqrt {-c^{2} x^{2} + 1}}{c^{4}}\right )}\right )} b c^{2} d + a d x + \frac {{\left (c x \arcsin \left (c x\right ) + \sqrt {-c^{2} x^{2} + 1}\right )} b d}{c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-c^2*d*x^2+d)*(a+b*arcsin(c*x)),x, algorithm="maxima")

[Out]

-1/3*a*c^2*d*x^3 - 1/9*(3*x^3*arcsin(c*x) + c*(sqrt(-c^2*x^2 + 1)*x^2/c^2 + 2*sqrt(-c^2*x^2 + 1)/c^4))*b*c^2*d
 + a*d*x + (c*x*arcsin(c*x) + sqrt(-c^2*x^2 + 1))*b*d/c

________________________________________________________________________________________

Fricas [A]
time = 2.29, size = 71, normalized size = 0.92 \begin {gather*} -\frac {3 \, a c^{3} d x^{3} - 9 \, a c d x + 3 \, {\left (b c^{3} d x^{3} - 3 \, b c d x\right )} \arcsin \left (c x\right ) + {\left (b c^{2} d x^{2} - 7 \, b d\right )} \sqrt {-c^{2} x^{2} + 1}}{9 \, c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-c^2*d*x^2+d)*(a+b*arcsin(c*x)),x, algorithm="fricas")

[Out]

-1/9*(3*a*c^3*d*x^3 - 9*a*c*d*x + 3*(b*c^3*d*x^3 - 3*b*c*d*x)*arcsin(c*x) + (b*c^2*d*x^2 - 7*b*d)*sqrt(-c^2*x^
2 + 1))/c

________________________________________________________________________________________

Sympy [A]
time = 0.14, size = 90, normalized size = 1.17 \begin {gather*} \begin {cases} - \frac {a c^{2} d x^{3}}{3} + a d x - \frac {b c^{2} d x^{3} \operatorname {asin}{\left (c x \right )}}{3} - \frac {b c d x^{2} \sqrt {- c^{2} x^{2} + 1}}{9} + b d x \operatorname {asin}{\left (c x \right )} + \frac {7 b d \sqrt {- c^{2} x^{2} + 1}}{9 c} & \text {for}\: c \neq 0 \\a d x & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-c**2*d*x**2+d)*(a+b*asin(c*x)),x)

[Out]

Piecewise((-a*c**2*d*x**3/3 + a*d*x - b*c**2*d*x**3*asin(c*x)/3 - b*c*d*x**2*sqrt(-c**2*x**2 + 1)/9 + b*d*x*as
in(c*x) + 7*b*d*sqrt(-c**2*x**2 + 1)/(9*c), Ne(c, 0)), (a*d*x, True))

________________________________________________________________________________________

Giac [A]
time = 0.41, size = 80, normalized size = 1.04 \begin {gather*} -\frac {1}{3} \, a c^{2} d x^{3} - \frac {1}{3} \, {\left (c^{2} x^{2} - 1\right )} b d x \arcsin \left (c x\right ) + \frac {2}{3} \, b d x \arcsin \left (c x\right ) + a d x + \frac {{\left (-c^{2} x^{2} + 1\right )}^{\frac {3}{2}} b d}{9 \, c} + \frac {2 \, \sqrt {-c^{2} x^{2} + 1} b d}{3 \, c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-c^2*d*x^2+d)*(a+b*arcsin(c*x)),x, algorithm="giac")

[Out]

-1/3*a*c^2*d*x^3 - 1/3*(c^2*x^2 - 1)*b*d*x*arcsin(c*x) + 2/3*b*d*x*arcsin(c*x) + a*d*x + 1/9*(-c^2*x^2 + 1)^(3
/2)*b*d/c + 2/3*sqrt(-c^2*x^2 + 1)*b*d/c

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \left \{\begin {array}{cl} \frac {b\,d\,\left (\sqrt {1-c^2\,x^2}+c\,x\,\mathrm {asin}\left (c\,x\right )\right )}{c}-b\,c^2\,d\,\left (\frac {\sqrt {\frac {1}{c^2}-x^2}\,\left (\frac {2}{c^2}+x^2\right )}{9}+\frac {x^3\,\mathrm {asin}\left (c\,x\right )}{3}\right )-\frac {a\,d\,x\,\left (c^2\,x^2-3\right )}{3} & \text {\ if\ \ }0<c\\ \int \left (a+b\,\mathrm {asin}\left (c\,x\right )\right )\,\left (d-c^2\,d\,x^2\right ) \,d x & \text {\ if\ \ }\neg 0<c \end {array}\right . \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*asin(c*x))*(d - c^2*d*x^2),x)

[Out]

piecewise(0 < c, - b*c^2*d*(((1/c^2 - x^2)^(1/2)*(2/c^2 + x^2))/9 + (x^3*asin(c*x))/3) + (b*d*((- c^2*x^2 + 1)
^(1/2) + c*x*asin(c*x)))/c - (a*d*x*(c^2*x^2 - 3))/3, ~0 < c, int((a + b*asin(c*x))*(d - c^2*d*x^2), x))

________________________________________________________________________________________